public class IntegerText {
    public static void main(String[] args) {
        int a = 10;
        //Integer li = a;//自动装箱
        Integer li = Integer.valueOf(a);
        Integer ii2 =new Integer(10);//手动装箱
        //int b = li2;//自动拆箱
        int b = ii2.intValue();//手动拆箱
        System.out.println(li);
        System.out.println(a);
        System.out.println(b);
    }
}